package decorator;

public class Test {

    public static void main(String args[]) {
        Person person = new Person("小菜");
        System.out.println("\n第一种装扮：");

        Sneakers sneakers = new Sneakers();
        BigTrouser bigTrouser = new BigTrouser();
        TShirts shirts = new TShirts();


        sneakers.decorate(person);
        bigTrouser.decorate(sneakers);
        shirts.decorate(bigTrouser);

        shirts.show();

    }
}
